﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Zocono.WCS.Domain.EntityInfo;
using Zocono.WCS.Infrastructure.ApllicationDto.WCSTaskDto;

namespace Zocono.WCS.Domain.WcsGetWmsJobDomain
{
    public interface IWcsGetWmsJobService : IDomainService
    {

        Task WCSGetWMSInitialWorkTaskAsync(/*List<WmsTaskInfoDto> wmstasks*/);


        /// <summary>
        /// 定时获取堆垛机初始任务
        /// </summary>
        /// <returns></returns>
        Task GetInitWorkTaskToMemory();

        /// <summary>
        /// 获取符合条件的堆垛机任务
        /// </summary>
        /// <param name="predicate"></param>
        /// <returns></returns>
        IEnumerable<WCSWorkTaskInfoDto> GetScWorkTaskInfo(Func<WCSWorkTaskInfoDto, bool> predicate);
    }
}
